//改变state
export default{
  UPDATE_TREE_DATA(state, val) {
    state.treeData = val;
  },
  UPDATE_EDIT_TREE_DATA(state, val) {
    state.editTreeData = val;
  },
  UPDATE_EDIT_TREE_INDEX(state,val){
    state.editTreeIndex = val;
  }
}
